package com.baizhi.cmfz.service.impl;


import com.baizhi.cmfz.dao.AdminDao;
import com.baizhi.cmfz.entiy.Admin;
import com.baizhi.cmfz.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminDao dao;

   /* @Override
    public Admin selectOne(String username, String password) {

        Admin admin = dao.selectOne(username, password);
        return admin;

    }*/

    @Override
    public void update(Admin admin) {

        dao.update(admin);
    }
}
